<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class WritingComment extends Model
{
    public function user(){
        return $this->belongsTo('App\User','author_id');
    }
    public function replay_user(){
        return $this->belongsTo('App\User','replay_user_id');
    }
}
